package com.kejy.entity;

import lombok.Data;

import java.util.Date;

@Data
public class AuctionRecord {
    private Integer id; //拍卖记录编号
    private Integer userId; //竞拍者编号
    private Integer auctionId;  //拍卖品编号
    private Date auctionTime;   //竞拍时间
    private Double auctionPrice;  //竞拍价格
    Auction auction;    //拍卖品对象
    AuctionUser auctionUser;  //竞拍者对象

    public AuctionRecord() {
    }

    public AuctionRecord(Integer id, Double auctionPrice, Integer userId, Integer auctionId, Date auctionTime) {
        this.id = id;
        this.auctionPrice = auctionPrice;
        this.userId = userId;
        this.auctionId = auctionId;
        this.auctionTime = auctionTime;
    }
}
